#ifndef FORMATFILENAMEBOX_H
#define FORMATFILENAMEBOX_H

#include <QWidget>
#include <QLayout>
#include <QLabel>
#include <QLineEdit>

class FormatFilenameBox : public QWidget
{
Q_OBJECT
public:
	explicit FormatFilenameBox(QWidget* parent = nullptr);
	~FormatFilenameBox() override;

public:
	QLineEdit* lineEdit;
private:
	QLabel* label;
	QHBoxLayout* mainLayout;
private slots:
	void SetLabel(const QString& s);

private:
	static QString GetFormatString(const char* s, ...);
};


#endif //FORMATFILENAMEBOX_H
